<?php
	include ("controller.php");
	
	//设置数据库
	$db  = new DBSQL($DB_Config);
	
	//设置数据库
	$tpl = new template($tpl_set);					//设置模板目录
	
	//释放系统设置
	@extract(sys_config());
	
	//下载文件模块
	include './tables/my_photo.php';
	$oMy_photo	= new My_photo($db);
	
	
	echo '<?xml version="1.0" encoding="UTF-8"?>';
	
	//获得列表
	$getlist = $oMy_photo->getList(" WHERE a.cate_id='$id'",50);
	$tpl->set_file("home_my_photo");
	$tpl->p();
?>